﻿using System;
using System.Linq.Expressions;

namespace Joy.Erp.BasicArchives.Core.Filters
{
    public interface IFilterConverter
    {
        Expression<Func<TEntity, bool>> Convert<TEntity>(FilterGroupDto group);

        Expression<Func<TEntity, bool>> Convert<TEntity>(FilterRuleDto rule);
    }
}
